<form action="index.php?c=zy_materials_from&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form" align="left" border="0" cellpadding="0" cellspacing="1">
<tbody>
<tr>
	<td width="20%" class="tab_bold">自购单号</td>
	<td><input type=text name="materials_no" size=30 value='{%$materials_no%}' dataType="Require" ></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">预算金额</td>
	<td><input type=text name="budget_amount" size=30 value='{%$budget_amount%}' dataType="Currency"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">实际金额</td>
	<td><input type=text name="actual_amount" size=30 value='{%$actual_amount%}' dataType="Currency"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">经办日期</td>
	<td>
	<input type=text name="materials_time" id="materials_time"  size=30 value='{%$materials_time|date_format:"%Y-%m-%d"%}' readonly>
	<script>
			Calendar.setup({
				inputField     :    "materials_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">经办人</td>
	<td>
	<select name="admin_user_id">
		{%html_options options=$admin_info selected=$admin_user_id%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">备注</td>
	<td>
	<textarea cols="70" rows="4" id="materials_info" name="materials_info" >{%$materials_info%}</textarea>
	</td>
</tr>
<tr>
	<td class="tab_bold">附件名称</td>
	<td><input type="file" name="file_path" id="file_path" size="40" /></td>
</tr>
<tr>
	<td colspan=4 align=center>
		<input type=hidden name='materials_from_id' id='materials_from_id' value='{%$materials_from_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>